package cn.com.gaobb.service;

import cn.com.gaobb.dto.ResultDTO;
import cn.com.gaobb.entity.TUser;
import cn.com.gaobb.vo.*;

public interface UserService {

    ResultDTO<ResLoginVO> login(String name, String password);

    Boolean Deduplication(String name);

    TUser selectById(String id);

    ResultDTO<ResPageVO<ResUserDetailVO>> listOfPage(ReqPageVO vo);

    ResultDTO<ResIdVO> add(ReqUserAddVO vo);

    ResultDTO update(ReqUserUpdateVO vo);

    ResultDTO<ResUserDetailVO> detail(String id);

    ResultDTO deleteList(ResIdListVO vo);

    ResultDTO<ResIdVO> register(ReqRegisterVO reqVo);
}
